package com.unionftech.common.recaptcha.aliyun

interface AliyunCaptchaListener {


    /**
     * 返回阿里云滑块的信息，进行服务器验证，并将返回结果返回
     */
    fun onValidate(
        captchaVerifyParam: String,
        callBack: (
            captchaResult: Boolean
        ) -> Unit
    )

    fun onError(code: Int, msg: String?)

    fun onClose()
}